package cn.b.sky.admin.model;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

/**
 * 
 * <strong>Title : FunctionGroup.java<br>
 * </strong> <strong>Package : cn.b.sky.admin.model<br>
 * </strong> <strong>Description : </strong>功能组数据对象<br>
 * <strong>Create on : 2016-6-7 上午11:36:02<br>
 * </strong>
 * <p>
 * 
 * @author JunLin.Yang<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 *          <strong>修改历史:</strong><br>
 *          修改人|修改日期|修改描述<br>
 *          -------------------------------------------<br>
 * <br>
 * <br>
 */
public class FunctionGroup extends ImeCommon implements Serializable {

	private static final long serialVersionUID = -1L;

	/**
	 * 功能组编号
	 */
	private String functionGroupCode;

	/**
	 * 描述
	 */
	private String text;

	/**
	 * 顺序号
	 */
	private Long sequenceNum;

	/**
	 * 复制标志
	 */
	private int copyFlag;

	/**
	 * 涉及的表
	 */
	private String tableNameList;

	/**
	 * 必选标志
	 */
	private int requiredFlag;

	public void setFunctionGroupCode(String functionGroupCode) {
		if(StringUtils.isNotBlank(functionGroupCode)){
			this.functionGroupCode = functionGroupCode.toUpperCase();
		}else{
			this.functionGroupCode = functionGroupCode;
		}
	}

	public String getFunctionGroupCode() {
		return this.functionGroupCode;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getText() {
		return this.text;
	}

	public void setSequenceNum(Long sequenceNum) {
		this.sequenceNum = sequenceNum;
	}

	public Long getSequenceNum() {
		return this.sequenceNum;
	}

	public void setTableNameList(String tableNameList) {
		this.tableNameList = tableNameList;
	}

	public String getTableNameList() {
		return this.tableNameList;
	}

	public int getCopyFlag() {
		return copyFlag;
	}

	public void setCopyFlag(int copyFlag) {
		this.copyFlag = copyFlag;
	}

	public int getRequiredFlag() {
		return requiredFlag;
	}

	public void setRequiredFlag(int requiredFlag) {
		this.requiredFlag = requiredFlag;
	}

}